Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow using default gRPC dialer #59

Merged
merged 1 commit into from
May 15, 2024
Merged

Conversation

brandonSc
Copy link
Contributor

@brandonSc brandonSc commented May 14, 2024

The builtin dialer in gRPC has support for things like HTTP connect proxy which we need to support BYOC satellites in some environments. Buildkit was previously forcing it's own dialer implementation.

@brandonSc brandonSc changed the title Brandon/http proxy Allow using default gRPC dialer May 15, 2024
@brandonSc brandonSc marked this pull request as ready for review May 15, 2024 18:06
Copy link
Contributor

@mikejholly mikejholly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Code looks good!

@brandonSc
Copy link
Contributor Author

Corresponding earthly PR earthly/earthly#4115

Buildkit has a custom `resolveDialer` dailer, that does not support HTTP proxy.
This adds the ability for a client to enable the default gRPC dialer, which
allows support for HTTP.
Copy link
Contributor

@alexcb alexcb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good; thanks for tidying up the commits.

@brandonSc brandonSc merged commit 531b303 into earthly-main May 15, 2024
34 of 53 checks passed
@brandonSc brandonSc deleted the brandon/http-proxy branch May 15, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants